﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using LuatChoi;

namespace Client
{
    public partial class frmPhongTot : Form
    {
        public QuanCo Quan;
        public frmPhongTot()
        {
            InitializeComponent();
        }

        private void frmPhongTot_Load(object sender, EventArgs e)
        {

        }

        private void pbXe_Click(object sender, EventArgs e)
        {
            Quan=new Xe();
            this.DialogResult = DialogResult.OK;
        }

        private void pbTuong_Click(object sender, EventArgs e)
        {
            Quan = new Tuong();
            this.DialogResult = DialogResult.OK;
        }

        private void pbMa_Click(object sender, EventArgs e)
        {
            Quan = new Ma();
            this.DialogResult = DialogResult.OK;
        }

        private void pbHau_Click(object sender, EventArgs e)
        {
            Quan = new Hau();
            this.DialogResult = DialogResult.OK;
        }
    }
}
